package com.ysh.gsm;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;

/**
 * @author ysh
 *
 */
@IdClass(MrHistoryPK.class)
@Entity
@Table(name = "mr_history")

public class MrHistory implements Serializable{

	
	private static final long serialVersionUID = -5595961868965198647L;
	
	private byte mrType;
	private TimeDimension timeDimension;
	private byte cellId;
	private short mrValue;
	private int mrNumber;
	private Double rxqUp;
	private Double rxqDown;
	@Id
	public byte getMrType() {
		return mrType;
	}
	@Id
	public TimeDimension getTimeDimension() {
		return timeDimension;
	}
	@Id
	public byte getCellId() {
		return cellId;
	}
	@Id
	public short getMrValue() {
		return mrValue;
	}
	@Column(name = "mr_number", nullable = false)
	public int getMrNumber() {
		return mrNumber;
	}
	@Column(name = "rxqup", nullable = true)
	public Double getRxqUp() {
		return rxqUp;
	}
	@Column(name = "rxqdown", nullable = true)
	public Double getRxqDown() {
		return rxqDown;
	}
	public void setMrType(byte mrType) {
		this.mrType = mrType;
	}
	public void setTimeDimension(TimeDimension timeDimension) {
		this.timeDimension = timeDimension;
	}
	public void setCellId(byte cellId) {
		this.cellId = cellId;
	}
	public void setMrValue(short mrValue) {
		this.mrValue = mrValue;
	}
	public void setMrNumber(int mrNumber) {
		this.mrNumber = mrNumber;
	}
	public void setRxqUp(Double rxqUp) {
		this.rxqUp = rxqUp;
	}
	public void setRxqDown(Double rxqDown) {
		this.rxqDown = rxqDown;
	}
	
	
	
	
	
	

}
